import request from '../../../util/request.js';

export function allpublist(data) {
    return request({
        method: 'GET',
        url: '/allpublist', 
        params: data 
    });
}


export function uprequest(proceports,ID) {
    return request({
        method: 'post',
        url: '/uprequest?proceports=' + proceports + '&ID=' + ID,
    });
}

export function deletePublistById(ID){
    return request({
        method: 'post',
        url: '/deletePublistById?ID=' + ID,
    });
}


export function insertOrUpdatePublist(data){
    return request({
        method: 'post',
        url: '/insertOrUpdatePublist',
        params: data ,
    });
}